package com.rabbiter.oes.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "注册所需参数")
public class RegisterDTO {

    @ApiModelProperty(value = "账号")
    private String acc;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String tel;

    @ApiModelProperty(value = "电子邮件")
    private String email;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "身份证号")
    private String cardId;

    @ApiModelProperty(value = "角色(0管理员，1教师，2学生)")
    private String role;

}
